<%@ page language="java" pageEncoding="utf-8"
	contentType="text/html; charset=UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
<title>Home</title>
<meta http-equiv="Content-Type" context="text/html" charset=utf-8">
</head>
<link rel="stylesheet" type="text/css"
	href="<%=path%>/js/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=path%>/js/themes/icon.css">
<script type="text/javascript" src="<%=path%>/js/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<%=path%>/js/jquery.easyui.min.js"
	charset="utf-8"></script>
<script type="text/javascript" src="<%=path%>/js/locale/easyui-lang-zh_CN.js"
	charset="utf-8"></script>

<script type="text/javascript">
		var login=$('#login')
		$(function(){
			login = $("#login").dialog({
				closable:false,
				draggable:false
				});
			});
        
	    $(function(){ 
	        $('#cccorp').combogrid({
	    	url:'<%=path%>/login/get/corp',
	    	checkOnSelect:true,
			panelWidth :300,
			panelHeight : 200,
			idField :   'cAccId',
			textField : 'cAccName',
			pagination : true, 
			fitColumns : true,
			required : true,
			pageSize: 5,//每页显示的记录条数，默认为10  
            pageList: [5,10,15],//可以设置每页记录条数的列表  
			loadMsg: '数据加载中...',
			mode : 'remote',
			delay : 500,
			rownumbers:true,
	    	checkbox:true,
	
			columns : [ [ {
				field : 'cAccId',
				title : '编码',
				width : 150
			}, {
				field : 'cAccName',
				title : '名称',
				width : 150
			}  ] ]
	    	});
	       
	    });   
  
</script>

<body>
	
		<div id="login" class="easyui-dialog" title="系统登录"
			style="width: 300px; height: 250px; padding: 10px">
<form id="userlogin" action="<%=path%>/login/get/user" method="post">
			<table>
				<tr>
					<td><input id="cccorp" name="cccorp" type="text" placeholder="公司名称" value=""
						class="easyui-validatebox" data-options="required:true" /></td>
				</tr>

				<tr>
					<td><input id="ccusername" name="ccusername" type="text" placeholder="用户名称"
						value="" class="easyui-validatebox" data-options="required:true" /></td>
				</tr>
				<tr>
					<td><input id="ccuserpwd" name="ccuserpwd" type="password" placeholder="用户密码"
						value="" class="easyui-validatebox" data-options="required:true" /></td>
				</tr>
				<tr>
					<td><input id="logindate" name="logindate" type="text" class="easyui-datebox"
						value="" class="easyui-validatebox" data-options=></td>
				</tr>

				<tr>
					<td><input type="submit" value="提交"/> <input id="close"
						type="reset" value="重置"/></td>
			</table>
	</form>
</div>
	
</body>
</html>
